//
//  HistoryModel.m
//  Double
//
//  Created by dllo on 15/5/28.
//  Copyright (c) 2015年 袁庆秋. All rights reserved.
//

#import "HistoryModel.h"

@implementation HistoryModel
- (void)dealloc
{
    [_HistoryName release];
    [_HistoryPic release];
    [super dealloc];
}
- (instancetype)initWithHistoryId:(NSInteger)Id HistoryName:(NSString *)Name HistoryPic:(NSString *)pic
{
    if (self) {
        self.HistoryId = Id;
        self.HistoryName = Name;
        self.HistoryPic = pic;
    }
    return self;
}

+ (HistoryModel *)HistoryModelWithHistoryId:(NSInteger)Id HistoryName:(NSString *)Name HistoryPic:(NSString *)pic
{
    HistoryModel * model = [[HistoryModel alloc]initWithHistoryId:Id HistoryName:Name HistoryPic:pic];
    return [model autorelease];
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
